//
// Created by 49647 on 2022/4/17.
//

#ifndef MYHANDLER_LOG_H
#define MYHANDLER_LOG_H

#include <cstdio>

#define LOGE(x, ...) printf("[E][" LOG_TAG "][%s][%d] " x "\n", __FUNCTION__, __LINE__, #__VA_ARGS__)
#define LOGW(x, ...) printf("[W][" LOG_TAG "][%s][%d] " x "\n", __FUNCTION__, __LINE__, #__VA_ARGS__)
#define LOGI(x, ...) printf("[I][" LOG_TAG "][%s][%d] " x "\n", __FUNCTION__, __LINE__, #__VA_ARGS__)
#define LOGD(x, ...) printf("[D][" LOG_TAG "][%s][%d] " x "\n", __FUNCTION__, __LINE__, #__VA_ARGS__)
#define LOGV(x, ...) printf("[V][" LOG_TAG "][%s][%d] " x "\n", __FUNCTION__, __LINE__, #__VA_ARGS__)

#endif //MYHANDLER_LOG_H
